<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>指尖金融</title>
		<link href="../../../res/png/icon.png" rel="shortcut icon" />
		<link href="../../../css/common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="clientApplicationList.css"/>
		<link href="../../../res/png/icon.png" rel="shortcut icon" />
		<link href="../../../component/autocomplete/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
	
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />
	</head>
	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header">
			</div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div class="page table-section none">
						<p class="table-head">
							<label class="table-title">当前位置:企业用户管理>企业融资情况</label>
						</p>
						<p>
							<table class="table" cellspacing="0px" cellpadding="0px">
								<tr class="table_title">
									<th class="th1" width="17%">申请时间 | 融资编号</th>
									<th class="th2" width="16%">融资货物</th>
									<th class="th3" width="15%">数量</th>
									<th class="th4" width="16%">申请金额</th>
									<th class="th5" width="14%">融资金额</th>
									<th class="th6" width="10%">订单状态</th>
									<th class="th7" width="10%">操作</th>
								</tr>
								<tbody id="financeListBody"></tbody>
							
							</table>
							<div id="pagenation" class="pagerCon"></div>
							<script type="text/template" id="financeListTpl">
									{@each datas as it}
										<tr class="tr_style table-data"  financeId=${it.financeId}>
											<td>
												{@if it.financeType==1}
													<span class="order_status">融资</span>
												{@else if it.financeType==2}
													<span class="order_status">换货 </span>
												{@/if}
												&nbsp;&nbsp;${it.applicationDateTime}
												<br/><span class="order_num">${it.financeNumber}</span>
											</td>
											<td>
												{@each it.bulkstocks as that}
													${that.bulkstockName}(${that.specification})<br/>
												{@/each}
											</td>
											<td>
												{@each it.bulkstocks as d}
													${d.quantity}<br/>
												{@/each}
											</td>
											<td>&#65509;${it.applicationAmount}</td>
											<td>&#65509;${it.financeAmount}</td>
											
											<td>${getValueByKey(30, it.financeState)}</td>
											<td><a id="detail">详情</a></td>
										</tr>
									{@/each}
								</script>
						</p>
					</div>
				</div>
				
			</div>
			
			<!-- 底部 -->
			<div class="footer none">底部栏</div>
			<!--删除确认框-->
			<div id="popdialog">
			</div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/platform/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script type="text/javascript" src="../../../component/autocomplete/jquery.autocomplete.js"></script>
		
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			seajs.use('./clientApplicationList', function(clientApplicationList) {
				clientApplicationList.init(4);
			});
		</script>
	</body>
</html>